﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ImplPatronCommand
{
   public class Invoker
    {
       private ICommand _command;

       public Invoker(ICommand command)
       {
           _command = command;
       }

       public void Execute()
       {
            _command.Execute();
       }
    }
}
